﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainForm.aspx.cs" Inherits="UILGestion.Main.MainForm" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register src="../Control/ComparativoResuGrid.ascx" tagname="ComparativoResuGrid" tagprefix="uc1" %>



<%@ Register src="../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc2" %>






<%@ Register src="../Control/OrdenCompraResuGrid.ascx" tagname="OrdenCompraResuGrid" tagprefix="uc3" %>






<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../estilos/_common/styles/theme.css" />
    
</head>
<body>
    <form id="form1" runat="server">
    <uc2:menuCtrl ID="menuCtrl1" runat="server" />
     <asp:ScriptManager  ID="ScriptManager1" runat="server"  EnablePageMethods="true" EnableScriptGlobalization="true"></asp:ScriptManager>
    
     

<asp:Accordion ID="Accordion1" 
runat="server" FadeTransitions="true"
 FramesPerSecond="40" TransitionDuration="200"
 AutoSize="None"  Width="800px"
  HeaderCssClass="accordionHeader" > 
<Panes>

<asp:AccordionPane   ID="AccordionPane1" runat="server"> 

<Header> 

    <a href="" onclick="return false;" class="accordionLink" > 
        Lista de Comparativos pendientes de aprobacion de todas las obras
    </a>
</Header> 
<Content> 
                             
   <asp:Panel ID="PanelComprativo" runat="server"   BackColor="White"
    >
     <asp:UpdatePanel runat="server" ID="update" UpdateMode="Always" >
  <ContentTemplate>
       
   <uc1:ComparativoResuGrid ID="ComparativoResuGrid1"  runat="server" DataSourceID="comparativoODS"  />
       <asp:ObjectDataSource ID="comparativoODS" runat="server" EnablePaging="True" 
        SelectCountMethod="Count" SelectMethod="getComparativoPendienteResuList" SortParameterName="sortExpression"
        TypeName="BOL.ComparativoBL">
        <SelectParameters>
            
            <asp:Parameter Name="startRowIndex" Type="Int32" />
            <asp:Parameter Name="maximumRows" Type="Int32" />
            <asp:Parameter Name="sortExpression" Type="String" />
        </SelectParameters>
        
    </asp:ObjectDataSource>
    

        </ContentTemplate>
       

    </asp:UpdatePanel>
 
    </asp:Panel>



    
</Content> 
</asp:AccordionPane> 



<asp:AccordionPane   ID="AccordionPane2" runat="server"> 

<Header> 

  <a href="" onclick="return false;" class="accordionLink" > 
        Lista de Ordenes de Compra Sin Comparativos
    </a> 
</Header> 
<Content> 
                             
   <asp:Panel ID="Panel1" runat="server"   BackColor="White"
    >
     <asp:UpdatePanel runat="server" ID="UpdatePanel1" UpdateMode="Always" >
  <ContentTemplate>
        <uc3:OrdenCompraResuGrid ID="OrdenCompraResuGrid1" runat="server" DataSourceID="OrdenCompraODS" />
   
       <asp:ObjectDataSource ID="OrdenCompraODS" runat="server" EnablePaging="True" 
        SelectCountMethod="Count" SelectMethod="getOrdenCompraSinCOMPResuList" SortParameterName="sortExpression"
        TypeName="BOL.OrdenCompraBL">
        <SelectParameters>
            
            <asp:Parameter Name="startRowIndex" Type="Int32" />
            <asp:Parameter Name="maximumRows" Type="Int32" />
            <asp:Parameter Name="sortExpression" Type="String" />
        </SelectParameters>
        
    </asp:ObjectDataSource>
    

        </ContentTemplate>
       

    </asp:UpdatePanel>
 
    </asp:Panel>



    
</Content> 
</asp:AccordionPane> 


</Panes>
</asp:Accordion> 



   
   





    </form>
</body>
</html>
     
